﻿
@using ES.Models
@{
    var loginCustomer = Session["LoginKey"] as Customer;
}
<div class="options">
    <div class="search">
        <form action="@Url.Action("Index","Product")" method="post">
            <span class="field">
                <input type="text"  name="SearchString" id="SearchString"  title="Arama" value="@Request.Params["SearchString"]" /></span>
            <input type="submit" class="search-submit" value="Ara" />
        </form>
    </div>
<div class="right">
 @if (loginCustomer==null)
 {
    <span class="left more-links"><a href="@Url.Action("Login","My")">Giriş Yap</a> </span>
 }
 else
 {
     <span class="cart"><a href="#" class="cart-ico">&nbsp;</a> <strong>@loginCustomer.GetTotalBasketValue().ToString("0.00") TL</strong>
     <span class="left more-links"><a href="#">@loginCustomer.FullName</a> </span>
     </span>
     
 }
    
       
        
       
    </div>
</div>
